package xin.mydreams.mybill.global.result.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * 没有登录异常
 * @author 
 * @since 谷泽昊 2018年7月18日
 */
public class NoLoginException extends Exception {

	private static final long serialVersionUID = 3918707200183569313L;

	@Setter
	@Getter
	private int code;

	public NoLoginException(String message) {
		super(message);
	}

	public NoLoginException(String message, int code) {
		super(message);
		this.code = code;
	}

	public NoLoginException(String message, int code, Throwable e) {
		super(message, e);
		this.code = code;
	}

	public NoLoginException(int code, String message, Throwable e) {
		super(message, e);
		this.code = code;
	}

	public NoLoginException(Throwable e) {
		super(e);
	}

	public NoLoginException(String message, Throwable e) {
		super(message, e);
	}

}
